/*
 * @Date: 2023-09-07 14:07:41
 * @LastEditors: zhangxc 13083637819@163.com
 * @LastEditTime: 2023-11-01 14:40:31
 * @FilePath: \manage\src\const\crud\circlenewscolumn.js
 */
export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogDirection": "rtl",
  "searchMenuSpan": 6,
  "column": [
    {
      span: 22,
      "type": "input",
      "label": "栏目名称",
      "prop": "columnName",
      search: true,
      rules: [{
        required: true,
        message: "请输入栏目名称",
        trigger: "blur"
      }]
    },  {
      span: 22,
      "type": "upload",
      "label": "栏目图",
      "prop": "columnImg",
      showColumn: true,
      /* mgWidth: 100,*/
      width: 100,
      listType: 'picture-img',
      accept: ["image/png", "image/jpeg"],
      action: "/fastfile/upload/hsh-1251035051",
      multiple: true,
      fileSize: 500000,
      dataType: "string",
      propsHttp: {
        res: "data",
        url: "kpath"
      },
      showFileList: true,
      /* "hide": true,*/
      tip: "只能上传jpg/png文件，且不超过500kb"
    },
    {
      span: 22,
      "type": "input",
      "label": "备注",
      "prop": "remark"
    }
    ]
}
export const tableOption1 = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogDirection": "rtl",
  "searchMenuSpan": 6,
  "column": [
    {
      span: 22,
      "type": "input",
      "label": "栏目名称",
      "prop": "columnName",
      rules: [{
        required: true,
        message: "请输入栏目名称",
        trigger: "blur"
      }]
    },  {
      span: 22,
      "type": "upload",
      "label": "栏目图",
      "prop": "columnImg",
      showColumn: true,
      /* mgWidth: 100,*/
      width: 100,
      listType: 'picture-img',
      accept: ["image/png", "image/jpeg"],
      action: "/fastfile/upload/hsh-1251035051",
      multiple: true,
      fileSize: 500000,
      dataType: "string",
      propsHttp: {
        res: "data",
        url: "kpath"
      },
      showFileList: true,
      /* "hide": true,*/
      tip: "只能上传jpg/png文件，且不超过500kb"
    },
    {
      span: 22,
      "type": "input",
      "label": "备注",
      "prop": "remark"
    }
    ]
}
